package mainWindow;

import java.awt.Image;

import javax.swing.ImageIcon;

public class StyleTool {
	public static Image getLeftImage(int styleIdx)
	{
		switch (styleIdx)
		{
		case 0:
			return new ImageIcon("images/background/grey_l.jpg").getImage();
		case 1:
			return new ImageIcon("images/background/gold_harvest_l.jpg").getImage();
		case 2:
			return new ImageIcon("images/background/green_rain_l.jpg").getImage();
		case 3:
			return new ImageIcon("images/background/simple_life_l.jpg").getImage();
		case 4:
			return new ImageIcon("images/background/comic_l.jpg").getImage();
		case 5:
			return new ImageIcon("images/background/fruit_l.jpg").getImage();
		}
		return null;
	}
	public static Image getRightImage(int styleIdx)
	{
		switch (styleIdx)
		{
		case 0:
			return new ImageIcon("images/background/grey_r.jpg").getImage();
		case 1:
			return new ImageIcon("images/background/gold_harvest_r.jpg").getImage();
		case 2:
			return new ImageIcon("images/background/green_rain_r.jpg").getImage();
		case 3:
			return new ImageIcon("images/background/simple_life_r.jpg").getImage();
		case 4:
			return new ImageIcon("images/background/comic_r.jpg").getImage();
		case 5:
			return new ImageIcon("images/background/fruit_r.jpg").getImage();
		}
		return null;
	}
}
